package com.suse.service.admin.edu.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "VideoUpdateParam",description = "课时修改参数")
public class VideoUpdateParam {

    @ApiModelProperty(value = "课时ID",required = true)
    @NotEmpty(message = "课时ID不能为空")
    private String id;

    @ApiModelProperty(value = "课时标题")
    private String title;

    @ApiModelProperty(value = "课时是否免费：0 收费 1 免费")
    private Integer isFree;

    @ApiModelProperty(value = "课时云视频资源ID")
    private String videoSourceId;

}
